﻿using System;

namespace AcademicPlanner.Domain
{
	/// <summary>
	/// NotAuthorizedOperationException represents an exception indicating a
	/// forbidden access to a given application operation to the current user.
	/// </summary>
	/// <version>1.0</version>
	/// <since>1.0</since>
	public class NotAuthorizedOperationException : NotCriticalDomainException
	{
		/// <summary>
		/// Sole constructor. Initializes this exception's <c>ErrorCode</c>.
		/// </summary>
		/// <param name="pCode">The <c>DomainErrorCode</c> value of the exception.</param>
		/// <seealso cref="M:DomainException.DomainException(DomainErrorCode)"/>
		/// <version>1.0</version>
		/// <since>1.0</since>
		public NotAuthorizedOperationException(DomainErrorCode pCode)
			: base(pCode)
		{

		}
	}
}
